package de.iritgo.skillfull.event;

import java.util.List;


public class EventServiceImpl implements EventService 
{
	private List<EventListener> listeners;
	
	
	public void setEventListeners (List<EventListener> listeners)
	{
		this.listeners = listeners;
	}
	
	public void fireEvent (Event event) 
	{
		for (EventListener listener : listeners)
		{
			listener.event (event);
		}
	}
}
